<el-form ref="form" :model="form" :rules="rules" label-width="180px">
    <el-row>
        <span>基本信息</span>
    </el-row>
    <el-row :gutter="10">
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="业务员" prop="GWGGORIU_NAME">
                <el-input v-model="form.GWGGORIU_NAME" readonly></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="所属组织" prop="GWGGORIG_NAME">
                <el-input v-model="form.GWGGORIG_NAME" readonly></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="招标编号" prop="GWGG001">
                <el-input v-model="form.GWGG001" readonly>
                    <i v-show="isAdd" class="el-icon-search el-input__icon" @click="openGwgc001" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="项目名称">
                <el-input v-model="form.GWGC022" readonly>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="竞争厂商" prop="GWGG002">
                <el-input v-model="form.GWGG002">
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="地址" prop="GWGG003">
                <el-input v-model="form.GWGG003">
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="竞争程度" prop="GWGG004">
                <el-select v-model="form.GWGG004" clearable>
                    <el-option v-for="item in selectOptions.gwgg004Options" :label="item.value"
                               :value="item.code"></el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="竞争对手项目是否成功" prop="GWGG005">
                <el-select v-model="form.GWGG005" clearable>
                    <el-option v-for="item in selectOptions.sys_n_y" :label="item.value"
                               :value="item.code"></el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="竞争对手主要原因" prop="GWGG006">
                <el-select v-model="form.GWGG006" clearable>
                    <el-option v-for="item in selectOptions.gwgg006Options" :label="item.value"
                               :value="item.code"></el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="竞争对手竞争策略" prop="GWGG007">
                <el-input v-model="form.GWGG007">
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="竞争对手项目优势" prop="GWGG008">
                <el-input v-model="form.GWGG008">
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="竞争对手项目劣势" prop="GWGG009">
                <el-input v-model="form.GWGG009">
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="竞争对手成功或失败原因" prop="GWGG010">
                <el-input v-model="form.GWGG010">
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="我司项目是否成功" prop="GWGG011">
                <el-select v-model="form.GWGG011" clearable>
                    <el-option v-for="item in selectOptions.sys_n_y" :label="item.value"
                               :value="item.code"></el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="我司主要原因" prop="GWGG012">
                <el-select v-model="form.GWGG012" clearable>
                    <el-option v-for="item in selectOptions.gwgg006Options" :label="item.value"
                               :value="item.code"></el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="我司竞争策略" prop="GWGG013">
                <el-input v-model="form.GWGG013">
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="我司项目优势" prop="GWGG014">
                <el-input v-model="form.GWGG014">
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="我司项目劣势" prop="GWGG015">
                <el-input v-model="form.GWGG015">
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="我司成功或失败原因" prop="GWGG016">
                <el-input v-model="form.GWGG016">
                </el-input>
            </el-form-item>
        </el-col>
    </el-row>
    <el-row>
        <span>竞争产品明细</span>
    </el-row>
    <el-row>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <div class="pos-re" style="margin-top: 10px;">
                <div class="pos-ab">
                    <el-button v-show="!isDetail" type="primary" icon="el-icon-plus" size="mini" class="z-depth-2"
                               @click="addGwgh">添加
                    </el-button>
                    <el-button v-show="!isDetail" type="primary" icon="el-icon-delete" size="mini" class="z-depth-2"
                               @click="delGwgh">删除
                    </el-button>
                </div>
                <div class="table-responsive" style="margin-top: 5px;">
                    <table id="gwgi004_gwgh_table"
                           class="layui-table"
                           lay-size="sm"
                           lay-filter="gwgi004_gwgh_table">
                    </table>
                </div>
            </div>
        </el-col>
    </el-row>
    <el-row>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" style="text-align: right;margin-top: 10px;">
            <el-button icon="icon iconfont icon-23" size="mini" @click="cancel">关闭</el-button>
            <el-button v-show="!isDetail" type="warning" icon="icon iconfont icon-21" size="mini" @click="sure">保存</el-button>
        </el-col>
    </el-row>
</el-form>
<script>
    require(["pc/crm/gwgi004_edit"], $.noop);
</script>
